MongoCollection
PHP Manual

MongoCollection::remove

(PECL mongo >=0.9.0)

MongoCollection::removeRemove records from this collection

Descripción

public boolean MongoCollection::remove ( array $criteria [, boolean $justOne= FALSE ] )

Lista de parámetros

criteria

Description of records to remove.

just_one

Remove at most one record matching this criteria.

Valores retornados

Returns if the command was executed successfully.


MongoCollection
PHP Manual